package com.zengjianjun.canal.demo.annotation.processor;

import com.alibaba.otter.canal.client.CanalConnector;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zengjianjun
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AckBatchIdInfo {

    /**
     * 线程ID
     */
    private String threadId;
    /**
     * 批次ID
     */
    private Long batchId;
    /**
     * 连接对象
     */
    private CanalConnector canalConnector;
}
